package org.consumer.rpcrequest;


/**
 * rpc请求封装
 * 
 * @author Typhoon
 *
 */
public class RpcRequest {
	
	/**
	 * 接口名称
	 */
	private String interfaceName;
	
	/**
	 * 方法名
	 */
	private String methodName;
	
	/**
	 * 参数类型
	 */
	private Class[] parameterTypes;
	
	/**
	 * 请求参数
	 */
	private Object[] parameters;
	
	

	public RpcRequest() {
		super();
	}
	
	public RpcRequest(String interfaceName, String methodName, Class[] parameterTypes, Object[] parameters) {
		super();
		this.interfaceName = interfaceName;
		this.methodName = methodName;
		this.parameterTypes = parameterTypes;
		this.parameters = parameters;
	}



	public String getInterfaceName() {
		return interfaceName;
	}

	public void setInterfaceName(String interfaceName) {
		this.interfaceName = interfaceName;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public Class[] getParameterTypes() {
		return parameterTypes;
	}

	public void setParameterTypes(Class[] parameterTypes) {
		this.parameterTypes = parameterTypes;
	}

	public Object[] getParameters() {
		return parameters;
	}

	public void setParameters(Object[] parameters) {
		this.parameters = parameters;
	}
	
	

}
